﻿function OpenModal(url) {
    //window.open(url, "", "width=500, height=500, toolbar=0, status=0, menu=0, top=20");
    //var win = window.showModalDialog(url, "a", "dialogwidth: 400; dialogheight: 400");
    var win = window.showModelessDialog(url);
    
    //alert("word");
    
    //__doPostBack("", "");
    //window.location.reload(true);
}

function OpenNewWindow(url) {
    window.open(url);
}